let ArticleList = {
	data: {
		total: 1000,
		'data|10': [{
			id: '@guid',
			title: '@ctitle',
			author: '@cname',
			'category|1': ['科幻', '技术前沿', '都市言情', '武侠古典'],
			createTime: '@date(yyyy-MM-dd)'
		}]
	}
};

let categories = {
	data: {
		'data|9': [{
			id: '@guid',
			'cname|+1': ['科幻', '技术前沿', '都市言情', '武侠古典']
		}]
	}
}

let users = {
	total: 100,
	'data|10': [{
		id: '@guid',
		username: '@name',
		nickname: '@cname',
		'gender|1': [true, false],
		joinTime: '@date(yyyy-MM-dd HH:mm:ss)',
		email: '@email',
		location: '@city',
		sign: '@csentence(5,12)',
		lastTime: '@date(yyyy-MM-dd HH:mm:ss)'
	}]
}

let admins = {
	'data|10' :[{
		id:'@guid',
		username: '@name',
		nickname: '@cname',
		email: '@email',
		'enabled|1': [true,false],
		'nonLocked|1': [true,false],
		'roles|3' : [
			{
				'id|+1' : 1001,
				'rname|+1': ['超级管理员','数据库管理员','普通管理员']
			}
		],
		role:{
			'id|1':[1001,1002,1003]
		}
	}]
}

export default {
	'get|/article/list': ArticleList,
	'get|/category/list': categories,
	'get|/user/list': users,
	'get|/admin/list': admins
}
